﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SJ.Platform.EFCore.Model.FlowManager
{
    [Table("flow_main")]
    [Description("流程主表")]
    public class FlowMain
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string? Id { get; set; }

        /// <summary>
        /// 流程名称
        /// </summary>
        public string? FlowName { get; set; }

        /// <summary>
        /// 流程类型
        /// </summary>
        public string? FlowTypeId { get; set; }

        /// <summary>
        /// 流程类型名称
        /// </summary>
        public string? FlowTypeName { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public int? IsUsed { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; }

        /// <summary>
        /// 添加人
        /// </summary>
        public string? AddUserId { get; set; }

        /// <summary>
        /// 最后修改时间
        /// </summary>
        public DateTime? EditTime { get; set; }

        /// <summary>
        /// 最后修改人
        /// </summary>
        public string? EditUserId { get; set; }
    }
}
